/**
 * Created by liguangsong on 16/8/9.
 */

var getJson = function(url, fun) {

    url = 'http://stats.nba.com/stats/' + url;

    $.ajax({
        url: url,
        //async: false,
        dataType: 'jsonp',
        success: fun
    })
};


module.exports = getJson;